﻿@{Layout = "~/Views/Shared/_Layout.cshtml";}

<h1>Set password for user</h1>
    @if (ViewData["message"] != null)
    {
        <h1>@ViewData["message"]</h1>
    }
    @using (Html.BeginForm("SetUserPassword", "User", FormMethod.Post))
    {
    @Html.Label("Enter Password")
    <br /><input type="password" name="NewPassWord" /><br />
    @Html.Label("Repeat Password") 
    <br /><input type="password" name="NewPassWordConfirm" />
    <br /><input type="hidden" name="UserID" value=@ViewData["User"] />
    <input type="submit" />
}

